package com.sciencep.pro.core.service;

import com.sciencep.pro.core.domain.dto.dropdown.RoleSelectVO;
import com.sciencep.pro.core.domain.dto.role.RoleTO;
import com.sciencep.pro.core.domain.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Sciencep
 */
public interface IRoleService extends IService<Role> {

   List<RoleTO> getRoleList(Role role);

    List<Role> getRoleGroupList();

    List<Role> getRoleNameByGroupId(Role role);

    List<RoleSelectVO> getRoleSelectVOByGroupId(String groupId);

    List<Role> getRoleByUserId(String userId);

    void delGroup(String groupId);

    void delRole(String roleId);

}
